package com.yummy.entity;

import javax.persistence.Id;
import java.io.Serializable;

/**
 * 
 * @TableName store
 */
public class Store implements Serializable {
    /**
     * 店铺id
     */
    @Id
    private Integer storeId;

    /**
     * 店铺名称
     */
    private String storeName;

    /**
     * 店铺地址
     */
    private String storeAddress;

    /**
     * 联系电话
     */
    private String storeTel;

    /**
     * 封面
     */
    private String cover;

    /**
     * 账户id
     */
    private Integer storeAccount;

    private static final long serialVersionUID = 1L;

    /**
     * 店铺id
     */
    public Integer getStoreId() {
        return storeId;
    }

    /**
     * 店铺id
     */
    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    /**
     * 店铺名称
     */
    public String getStoreName() {
        return storeName;
    }

    /**
     * 店铺名称
     */
    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    /**
     * 店铺地址
     */
    public String getStoreAddress() {
        return storeAddress;
    }

    /**
     * 店铺地址
     */
    public void setStoreAddress(String storeAddress) {
        this.storeAddress = storeAddress;
    }

    /**
     * 联系电话
     */
    public String getStoreTel() {
        return storeTel;
    }

    /**
     * 联系电话
     */
    public void setStoreTel(String storeTel) {
        this.storeTel = storeTel;
    }

    /**
     * 账户id
     */
    public Integer getStoreAccount() {
        return storeAccount;
    }

    /**
     * 账户id
     */
    public void setStoreAccount(Integer storeAccount) {
        this.storeAccount = storeAccount;
    }


    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    @Override
    public String toString() {
        return "Store{" +
                "storeId=" + storeId +
                ", storeName='" + storeName + '\'' +
                ", storeAddress='" + storeAddress + '\'' +
                ", storeTel='" + storeTel + '\'' +
                ", cover='" + cover + '\'' +
                ", storeAccount=" + storeAccount +
                '}';
    }
}